package com.zf.shopping.service;

import com.zf.shopping.bean.Result;
import com.zf.shopping.vo.CommodityV;

import java.util.List;

public interface CommodityService {

    Result addOrUpdate(CommodityV commodityV);

    Result deleteById(Long commodityId);

    CommodityV getOneById(Long commodityId);

    List<CommodityV> getAll();
}
